package com.amap.search.mapper.db2022;

import com.amap.search.entity.db2022.PoiRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2023-01-09
 */
public interface PoiRecordMapper {
    int insertBatch(@Param("records") List<PoiRecord> records);

    List<PoiRecord> queryAllxRecordByPage(@Param("page") int page, @Param("pageSize") int pageSize);

    List<PoiRecord> queryPoiRecordByIds(@Param("ids") List<String> ids);

    List<String> queryPoiRecordPoiIdByIds(@Param("ids") List<String> ids);
}
